package com.qiaofang.collectmanagebff.service.util;

import com.qiaofang.collectmanage.stub.bean.CollectRuleDTO;
import com.qiaofang.collectmanagebff.base.vo.CollectRuleVO;

public class CollectRuleConvert {

    public static CollectRuleVO convertDTO2VO(CollectRuleDTO collectRuleDTO) {
         CollectRuleVO collectRuleVO = new CollectRuleVO();
         collectRuleVO.setId(collectRuleDTO.getId());
         collectRuleVO.setUuid(collectRuleDTO.getUuid());
         collectRuleVO.setCity(collectRuleDTO.getCity());
         collectRuleVO.setSource(collectRuleDTO.getSource());
         collectRuleVO.setBelonger(collectRuleDTO.getBelonger());
         collectRuleVO.setCollectHouseType(collectRuleDTO.getCollectHouseType());
         collectRuleVO.setCollectType(collectRuleDTO.getCollectType());
         collectRuleVO.setWebsite(collectRuleDTO.getWebsite());
         collectRuleVO.setDetailWebCode(collectRuleDTO.getDetailWebCode());
         collectRuleVO.setListWebCode(collectRuleDTO.getListWebCode());
         collectRuleVO.setDefaultPages(collectRuleDTO.getDefaultPages());
         collectRuleVO.setTopicName(collectRuleDTO.getTopicName());
         collectRuleVO.setDeleted(collectRuleDTO.getDeleted());
         collectRuleVO.setCreatedTime(collectRuleDTO.getCreatedTime());
         collectRuleVO.setCreatedUserId(collectRuleDTO.getCreatedUserId());
         collectRuleVO.setUpdatedTime(collectRuleDTO.getUpdatedTime());
         collectRuleVO.setUpdatedUserId(collectRuleDTO.getUpdatedUserId());
         return collectRuleVO;
    }
}
